# -*- coding: utf-8 -*-

# Form implementation generated from reading ui file '/home/muhammad/workspace/Linux Control Panel/src/UI Files/current/firewall.ui'
#
# Created: Mon Jul 12 14:22:30 2010
#      by: PyQt4 UI code generator 4.7.2
#
# WARNING! All changes made in this file will be lost!

from PyQt4 import QtCore, QtGui

class Ui_FrameFirewall(object):
    def setupUi(self, FrameFirewall):
        FrameFirewall.setObjectName("FrameFirewall")
        FrameFirewall.resize(832, 655)
        FrameFirewall.setFrameShape(QtGui.QFrame.StyledPanel)
        FrameFirewall.setFrameShadow(QtGui.QFrame.Raised)
        self.verticalLayout = QtGui.QVBoxLayout(FrameFirewall)
        self.verticalLayout.setObjectName("verticalLayout")
        self.vlMain = QtGui.QVBoxLayout()
        self.vlMain.setObjectName("vlMain")
        self.hlTables = QtGui.QHBoxLayout()
        self.hlTables.setObjectName("hlTables")
        self.lblSelectTable = QtGui.QLabel(FrameFirewall)
        self.lblSelectTable.setObjectName("lblSelectTable")
        self.hlTables.addWidget(self.lblSelectTable)
        self.cmbTables = QtGui.QComboBox(FrameFirewall)
        self.cmbTables.setObjectName("cmbTables")
        self.cmbTables.addItem("")
        self.cmbTables.addItem("")
        self.cmbTables.addItem("")
        self.hlTables.addWidget(self.cmbTables)
        self.btnListChains = QtGui.QPushButton(FrameFirewall)
        self.btnListChains.setObjectName("btnListChains")
        self.hlTables.addWidget(self.btnListChains)
        spacerItem = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum)
        self.hlTables.addItem(spacerItem)
        self.vlMain.addLayout(self.hlTables)
        self.lblChains = QtGui.QLabel(FrameFirewall)
        self.lblChains.setObjectName("lblChains")
        self.vlMain.addWidget(self.lblChains)
        self.hlChains = QtGui.QHBoxLayout()
        self.hlChains.setObjectName("hlChains")
        self.lstChains = QtGui.QListWidget(FrameFirewall)
        self.lstChains.setObjectName("lstChains")
        self.hlChains.addWidget(self.lstChains)
        self.glChains = QtGui.QGridLayout()
        self.glChains.setObjectName("glChains")
        self.btnChainsAdd = QtGui.QPushButton(FrameFirewall)
        self.btnChainsAdd.setObjectName("btnChainsAdd")
        self.glChains.addWidget(self.btnChainsAdd, 1, 0, 1, 1)
        self.cmbChainsAction = QtGui.QComboBox(FrameFirewall)
        self.cmbChainsAction.setObjectName("cmbChainsAction")
        self.cmbChainsAction.addItem("")
        self.cmbChainsAction.addItem("")
        self.cmbChainsAction.addItem("")
        self.cmbChainsAction.addItem("")
        self.glChains.addWidget(self.cmbChainsAction, 0, 0, 1, 1)
        self.btnChainsDel = QtGui.QPushButton(FrameFirewall)
        self.btnChainsDel.setObjectName("btnChainsDel")
        self.glChains.addWidget(self.btnChainsDel, 2, 0, 1, 1)
        self.btnChainsFlush = QtGui.QPushButton(FrameFirewall)
        self.btnChainsFlush.setObjectName("btnChainsFlush")
        self.glChains.addWidget(self.btnChainsFlush, 3, 0, 1, 1)
        spacerItem1 = QtGui.QSpacerItem(20, 40, QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Expanding)
        self.glChains.addItem(spacerItem1, 4, 0, 1, 2)
        self.btnChainsApply = QtGui.QPushButton(FrameFirewall)
        self.btnChainsApply.setObjectName("btnChainsApply")
        self.glChains.addWidget(self.btnChainsApply, 0, 1, 1, 1)
        self.glChains.setColumnMinimumWidth(0, 150)
        self.glChains.setColumnMinimumWidth(1, 100)
        self.hlChains.addLayout(self.glChains)
        self.vlMain.addLayout(self.hlChains)
        self.lblRules = QtGui.QLabel(FrameFirewall)
        self.lblRules.setObjectName("lblRules")
        self.vlMain.addWidget(self.lblRules)
        self.hlRules = QtGui.QHBoxLayout()
        self.hlRules.setObjectName("hlRules")
        self.lstRules = QtGui.QListWidget(FrameFirewall)
        self.lstRules.setObjectName("lstRules")
        self.hlRules.addWidget(self.lstRules)
        self.glRules = QtGui.QGridLayout()
        self.glRules.setObjectName("glRules")
        self.btnRulesApply = QtGui.QPushButton(FrameFirewall)
        self.btnRulesApply.setObjectName("btnRulesApply")
        self.glRules.addWidget(self.btnRulesApply, 0, 1, 1, 1)
        self.btnRulesAdd = QtGui.QPushButton(FrameFirewall)
        self.btnRulesAdd.setObjectName("btnRulesAdd")
        self.glRules.addWidget(self.btnRulesAdd, 2, 0, 1, 1)
        self.btnRulesDel = QtGui.QPushButton(FrameFirewall)
        self.btnRulesDel.setObjectName("btnRulesDel")
        self.glRules.addWidget(self.btnRulesDel, 3, 0, 1, 1)
        spacerItem2 = QtGui.QSpacerItem(20, 40, QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Expanding)
        self.glRules.addItem(spacerItem2, 6, 0, 1, 2)
        self.cmbRulesAction = QtGui.QComboBox(FrameFirewall)
        self.cmbRulesAction.setObjectName("cmbRulesAction")
        self.cmbRulesAction.addItem("")
        self.cmbRulesAction.addItem("")
        self.cmbRulesAction.addItem("")
        self.cmbRulesAction.addItem("")
        self.cmbRulesAction.addItem("")
        self.cmbRulesAction.addItem("")
        self.cmbRulesAction.addItem("")
        self.cmbRulesAction.addItem("")
        self.cmbRulesAction.addItem("")
        self.glRules.addWidget(self.cmbRulesAction, 0, 0, 1, 1)
        self.cmbRulesSpecialAction = QtGui.QComboBox(FrameFirewall)
        self.cmbRulesSpecialAction.setEnabled(False)
        self.cmbRulesSpecialAction.setObjectName("cmbRulesSpecialAction")
        self.cmbRulesSpecialAction.addItem("")
        self.glRules.addWidget(self.cmbRulesSpecialAction, 1, 0, 1, 1)
        self.btnRulesUp = QtGui.QPushButton(FrameFirewall)
        self.btnRulesUp.setObjectName("btnRulesUp")
        self.glRules.addWidget(self.btnRulesUp, 4, 0, 1, 1)
        self.btnRulesDown = QtGui.QPushButton(FrameFirewall)
        self.btnRulesDown.setObjectName("btnRulesDown")
        self.glRules.addWidget(self.btnRulesDown, 5, 0, 1, 1)
        self.glRules.setColumnMinimumWidth(0, 150)
        self.glRules.setColumnMinimumWidth(1, 100)
        self.hlRules.addLayout(self.glRules)
        self.vlMain.addLayout(self.hlRules)
        self.verticalLayout.addLayout(self.vlMain)

        self.retranslateUi(FrameFirewall)
        QtCore.QMetaObject.connectSlotsByName(FrameFirewall)

    def retranslateUi(self, FrameFirewall):
        FrameFirewall.setWindowTitle(QtGui.QApplication.translate("FrameFirewall", "Dialog", None, QtGui.QApplication.UnicodeUTF8))
        self.lblSelectTable.setText(QtGui.QApplication.translate("FrameFirewall", "Select table", None, QtGui.QApplication.UnicodeUTF8))
        self.cmbTables.setItemText(0, QtGui.QApplication.translate("FrameFirewall", "filter", None, QtGui.QApplication.UnicodeUTF8))
        self.cmbTables.setItemText(1, QtGui.QApplication.translate("FrameFirewall", "nat", None, QtGui.QApplication.UnicodeUTF8))
        self.cmbTables.setItemText(2, QtGui.QApplication.translate("FrameFirewall", "mangle", None, QtGui.QApplication.UnicodeUTF8))
        self.btnListChains.setText(QtGui.QApplication.translate("FrameFirewall", "List Chains", None, QtGui.QApplication.UnicodeUTF8))
        self.lblChains.setText(QtGui.QApplication.translate("FrameFirewall", "Chains:", None, QtGui.QApplication.UnicodeUTF8))
        self.btnChainsAdd.setText(QtGui.QApplication.translate("FrameFirewall", "Add Chain", None, QtGui.QApplication.UnicodeUTF8))
        self.cmbChainsAction.setItemText(0, QtGui.QApplication.translate("FrameFirewall", "Set Action", None, QtGui.QApplication.UnicodeUTF8))
        self.cmbChainsAction.setItemText(1, QtGui.QApplication.translate("FrameFirewall", "Accept", None, QtGui.QApplication.UnicodeUTF8))
        self.cmbChainsAction.setItemText(2, QtGui.QApplication.translate("FrameFirewall", "Drop", None, QtGui.QApplication.UnicodeUTF8))
        self.cmbChainsAction.setItemText(3, QtGui.QApplication.translate("FrameFirewall", "User defined", None, QtGui.QApplication.UnicodeUTF8))
        self.btnChainsDel.setText(QtGui.QApplication.translate("FrameFirewall", "Delete Chain", None, QtGui.QApplication.UnicodeUTF8))
        self.btnChainsFlush.setText(QtGui.QApplication.translate("FrameFirewall", "Flush Chain", None, QtGui.QApplication.UnicodeUTF8))
        self.btnChainsApply.setText(QtGui.QApplication.translate("FrameFirewall", "Apply", None, QtGui.QApplication.UnicodeUTF8))
        self.lblRules.setText(QtGui.QApplication.translate("FrameFirewall", "Rules:", None, QtGui.QApplication.UnicodeUTF8))
        self.btnRulesApply.setText(QtGui.QApplication.translate("FrameFirewall", "Apply", None, QtGui.QApplication.UnicodeUTF8))
        self.btnRulesAdd.setText(QtGui.QApplication.translate("FrameFirewall", "Add Rule", None, QtGui.QApplication.UnicodeUTF8))
        self.btnRulesDel.setText(QtGui.QApplication.translate("FrameFirewall", "Delete Rule", None, QtGui.QApplication.UnicodeUTF8))
        self.cmbRulesAction.setItemText(0, QtGui.QApplication.translate("FrameFirewall", "Set Action", None, QtGui.QApplication.UnicodeUTF8))
        self.cmbRulesAction.setItemText(1, QtGui.QApplication.translate("FrameFirewall", "No action", None, QtGui.QApplication.UnicodeUTF8))
        self.cmbRulesAction.setItemText(2, QtGui.QApplication.translate("FrameFirewall", "Accept", None, QtGui.QApplication.UnicodeUTF8))
        self.cmbRulesAction.setItemText(3, QtGui.QApplication.translate("FrameFirewall", "Drop", None, QtGui.QApplication.UnicodeUTF8))
        self.cmbRulesAction.setItemText(4, QtGui.QApplication.translate("FrameFirewall", "Reject", None, QtGui.QApplication.UnicodeUTF8))
        self.cmbRulesAction.setItemText(5, QtGui.QApplication.translate("FrameFirewall", "Userspace", None, QtGui.QApplication.UnicodeUTF8))
        self.cmbRulesAction.setItemText(6, QtGui.QApplication.translate("FrameFirewall", "Exit Chain", None, QtGui.QApplication.UnicodeUTF8))
        self.cmbRulesAction.setItemText(7, QtGui.QApplication.translate("FrameFirewall", "Log Packet", None, QtGui.QApplication.UnicodeUTF8))
        self.cmbRulesAction.setItemText(8, QtGui.QApplication.translate("FrameFirewall", "Run Chain", None, QtGui.QApplication.UnicodeUTF8))
        self.cmbRulesSpecialAction.setItemText(0, QtGui.QApplication.translate("FrameFirewall", "Special Action", None, QtGui.QApplication.UnicodeUTF8))
        self.btnRulesUp.setText(QtGui.QApplication.translate("FrameFirewall", "Up", None, QtGui.QApplication.UnicodeUTF8))
        self.btnRulesDown.setText(QtGui.QApplication.translate("FrameFirewall", "Down", None, QtGui.QApplication.UnicodeUTF8))
